﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DLL
{
   public class NhanVienDAL
    {
        public string MaNv { get; set; }
        public string HoDem { get; set; }
        public string TenNV { get; set; }
        public string Hoten
        {
            get { return HoDem + " " + TenNV; }
            set
            {
                int a = value.LastIndexOf(' ');
                if (a < 0) return;
                HoDem = value.Substring(0, a);
                TenNV = value.Substring(a + 1);
            }
        }
        public DateTime NS { get; set; }
        public DateTime NG_VaoLam { get; set; }
        public string DiaChi { get; set; }
        public string DienThoai { get; set; }
        public float Luong { get; set; }
        public string GT { get; set; }
        public string PhongBan { get; set; }
        public string EMail { get; set; }
        public string Pass { get; set; }
        public bool DangLam { get; set; }
        public int Quyen { get; set; }
    }
}
